package experimental;

/* Represents a point in space */

class Point {

	public double x;

	public double y;

	public double z;

	Point() {
		this.x = 0;
		this.y = 0;
		this.z = 0;
	}

	Point(double x, double y, double z) {
		this.x = x;
		this.y = y;
		this.z = z;
	}

	/* for move it at origin */

	int getXCoordinate() {
		return My3DCube.origin + (int) this.x;
	}

	int getYCoordinate() {
		return My3DCube.origin - (int) this.y;
	}

	int getZCoordinate() {
		return 0;
	} /* projection on XY plane */

}